import type { FormInstance } from 'element-plus'
import { ILink, IList } from '@/interface'
import { ref } from 'vue'

export class InitData {
  linkList: ILink[] = []
  hasMore: boolean = true
  linkForm: ILink = {
    name: '',
    url: '',
    desc: '',
    avatar: '',
    email: ''
  }

  linkParams: IList = {
    nowPage: 1,
    pageSize: 20
  }

  linkFormRef:any = ref<FormInstance>()
}
